package com.felix.algorithms.tree;

/**
 * TreeInterface
 *
 * @author xuejinhua
 * @date 2018/9/10 11:20
 */
public interface TreeInterface<T> {

    T getRootData();

    int getHeight();

    int getNumberOfNodes();

    boolean isEmpty();

    void clear();

}
